<stack-layout>
    <text-field hint="type your username here" [(ngModel)]="user.username"></text-field>
    <text-field hint="password" secure="true" [(ngModel)]="user.password"></text-field>
    <button text="登录" (tap)="login()" ></button>
    <button text="注册"></button>
</stack-layout>